<script>
	import MyLoading from './loading';
	// 这里是重点
	const loading = {
		install: function(Vue) {
			Vue.component('loading', MyLoading)
		}
	}
	export default loading
</script>